protoc \
  -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf \
  --gofast_out=plugins=grpc,\Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types,\Mgoogle/protobuf/struct.proto=github.com/gogo/protobuf/types:../ \
  --grpc-gateway_out=allow_delete_body=true,allow_patch_feature=false,logtostderr=true:../ \
  prod/proto/*.proto \
  --plugin=protoc-gen-swagger=$GOPATH/bin/protoc-gen-swagger --swagger_out=.
mv ../api/prod/* prod/
rm -rf ../api
mv prod/proto/*.json prod/doc/
swaghtml gen -i prod/doc/*.json -o prod/doc/商品中心接口文档.html
cp prod/proto/const.proto prod/doc/枚举和消息.proto